package com.hsp.demo_10.myabstract.employee;

public class CommonEmployee extends Employee {

    public CommonEmployee() {
    }

    public CommonEmployee(String name, int age, double salary) {
        super(name, age, salary);
    }

    @Override
    public void work() {
        System.out.println("普通员工的工资为：" + this.getSalary());
    }
}
